package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * C端系统-商城订单子表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_goods_order_item")
@ApiModel(value = "XhGoodsOrderItem对象", description = "C端系统-商城订单子表")
public class XhGoodsOrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单ID ")
    private Integer orderId;

    @ApiModelProperty("商户id")
    private Integer merchantId;

    @ApiModelProperty("商户订单id")
    private Integer orderMerchantsId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品类型 1-实物 2-服务")
    private Integer type;

    @ApiModelProperty("商品SKU")
    private String sku;

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("商品副标题")
    private String subTitle;

    @ApiModelProperty("子商品名称")
    private String subName;

    @ApiModelProperty("子商品SKU")
    private String subSku;

    @ApiModelProperty("子商品ID")
    private Integer subGoodsId;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("积分优惠价格")
    private BigDecimal coinPrice;

    @ApiModelProperty("优惠券优惠价格")
    private BigDecimal couponPrice;

    @ApiModelProperty("实际支付价格")
    private BigDecimal money;

    @ApiModelProperty("商品图片")
    private String image;

    @ApiModelProperty("状态 0-未发货 1-运输中 2-已收货 3-售后服务中 4-已退回")
    private Integer status;

    @ApiModelProperty("服务 总次数")
    private Integer serviceAmount;

    @ApiModelProperty("服务 已使用次数")
    private Integer useAmount;

    @ApiModelProperty("状态说明")
    private String message;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
